home *** CD-ROM | disk | FTP | other *** search
- Path: hermes.louisville.edu!starbase!gclind01
- From: gclind01@starbase.spd.louisville.edu (George C. Lindauer)
- Newsgroups: comp.lang.c,comp.os.msdos.programmer,comp.sys.ibm.pc.hardware.video,comp.sys.ibm.pc.hardware.misc,comp.sys.ibm.pc.misc
- Subject: Re: malloc'ing 1.5MB of memory
- Date: 9 Jan 1996 23:00:37 GMT
- Organization: University of Louisville, Louisville KY USA
- Message-ID: <4cus2l$6r@hermes.louisville.edu>
- References: <4culvu$612@stc06.ctd.ornl.gov>
- NNTP-Posting-Host: starbase.spd.louisville.edu
- Keywords: memory msdos
- X-Newsreader: NN version 6.5.0 CURRENT #16
-
- forrest@esdhof.esd.ornl.gov (Forrest M. Hoffman) writes:
-
- >Can anyone tell me how to grab a 1.5 MB chunk of PC memory? I've got a
- >VideoBlaster card and some C code they gave me. But I want to use the
- >full screen (800x600) at 24 bit color. This means I have to have this
- >much space to have the routine dump the data into. The machine I'm
- >using is a 486 with 16MB of memory. This must be a DOS limitation?
-
- Use EMS, XMS, a ramdrive, or a 32-bit compiler. The latter is easiest.
-
- David
- >I'm using MS C 6.0 and calling halloc();
-
- >Any suggestions?
- >-----------------------------------------------------------------------------
- >Forrest Hoffman forrest@esd.ornl.gov
- >Environmental Sciences Division http://www.esd.ornl.gov/~forrest
- >Oak Ridge National Laboratory (423) 576-7680
- >MS 6036, Building 1505, Room 216 (423) 576-8543 fax
- >P.O. Box 2008 36 1' 35" N 84 11' 55" W
- >Oak Ridge TN 37831-6036
- >-----------------------------------------------------------------------------
-